package com.fintech.user.entity;

import java.util.Date;

import com.fintech.common.constant.IMobel;

/**
 * 用户对象
 * @author Administrator
 *
 */
public class User extends IMobel{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;

    private String idFintechUmUser;

    //private Integer employeeId;
    
    private String openId;

    private Integer storefrontId;

    private String userName;

    private String passWord;

    private String nickName;

    private String realName;
    /**
     * 用户类型(1客户经理,2客户,3助理,4区域员工)
     */
    private String userType;

    private String mobileNo;
    /**
     * 0：未审核 1：审核通过  2：审核拒绝 3:开通登录 -3：关闭登录 4 开通进件 -4 关闭进件
     */
    private String status;
    
    /**
     * 设备号
     */
    private String deviceId;

    private String userPhotoUrl;

    private String userLevelId;

    private String registStep;

    private Integer loginFailedCount;

    private Date loginFailedTime;

    private String cardNo;

    private String cityCode;

    private String leaderId;

    private String createdBy;

    private Date createdDate;

    private String updatedBy;

    private Date updatedDate;
    
    private String token;
    
    private String validCode;
    
    private String channelId;
    private String isLeader;
    private String cid;
    
    /**渠道名称**/
    private String channelName;
    /**团队长名称**/
    private String leaderName;
    /**审核人姓名**/
    private String auditName;
    /**是否实名认证**/
    private boolean realNameAuthentication;
    /**新密码**/
    private String newPassWord;
    private Integer rankCode;
    /**邀请人**/
    //private String inviter;
    private String source;
    
    private String channelCode;//外接渠道代码
    /**
     * 渠道代码摘要
     */
    private String channelCodeSummary;
    
    private boolean isMessagePush;//消息是否推送
    /**
     * 删除状态(-1已删除,0正常)
     */
    private Integer deleteFlag;
    
    private String deviceBrand; // 设备型号(iphone6/iphone8/ HUAWEI Mate 10 Pro等)
    
    private String deviceType; // 设备类型（ios/ Android）
    
    private String brToken; // 百融传过来的TOKEN
    private Boolean faceCheck;//人脸shibie
    
    private Date lastLoginTime;
    /**
     * 是否下载APP 0:未下载,1:已下载
     */
    private Integer isDownloadApp;
    
    // 操作标识 0登录  1注册登录  2注册
    private Integer operateFlag;
    
	/**
     * 是否实名认证 0：否 1：是
     */
    private Integer isVerify;
    /**
     * 是否人脸视别 0：否 1：是
     */
    private Integer isFace;
    
    private String userAgent;//注册请求的userAgent
    public Integer getIsDownloadApp() {
		return isDownloadApp;
	}

	public void setIsDownloadApp(Integer isDownloadApp) {
		this.isDownloadApp = isDownloadApp;
	}
	public Integer getIsVerify() {
		return isVerify;
	}

	public void setIsVerify(Integer isVerify) {
		this.isVerify = isVerify;
	}

	public Integer getIsFace() {
		return isFace;
	}

	public void setIsFace(Integer isFace) {
		this.isFace = isFace;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	/**
	 * extParam1扩展参数，不同活动代表不同含义<BR>
	 * 世界杯活动：代表用户竞猜记录ID<BR>
	 */
	private String extParam1;
    
    public String getExtParam1() {
		return extParam1;
	}

	public void setExtParam1(String extParam1) {
		this.extParam1 = extParam1;
	}

	public String getBrToken() {
		return brToken;
	}

	public void setBrToken(String brToken) {
		this.brToken = brToken;
	}

	public String getDeviceBrand() {
		return deviceBrand;
	}

	public void setDeviceBrand(String deviceBrand) {
		this.deviceBrand = deviceBrand;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public Integer getRankCode() {
		return rankCode;
	}

	public void setRankCode(Integer rankCode) {
		this.rankCode = rankCode;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIdFintechUmUser() {
        return idFintechUmUser;
    }

    public void setIdFintechUmUser(String idFintechUmUser) {
        this.idFintechUmUser = idFintechUmUser == null ? null : idFintechUmUser.trim();
    }

    /*public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }*/

    public Integer getStorefrontId() {
        return storefrontId;
    }

    public void setStorefrontId(Integer storefrontId) {
        this.storefrontId = storefrontId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord == null ? null : passWord.trim();
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType == null ? null : userType.trim();
    }

    public String getMobileNo() {
        return mobileNo;
    }

    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo == null ? null : mobileNo.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getUserPhotoUrl() {
        return userPhotoUrl;
    }

    public void setUserPhotoUrl(String userPhotoUrl) {
        this.userPhotoUrl = userPhotoUrl == null ? null : userPhotoUrl.trim();
    }

    public String getUserLevelId() {
        return userLevelId;
    }

    public void setUserLevelId(String userLevelId) {
        this.userLevelId = userLevelId == null ? null : userLevelId.trim();
    }

    public String getRegistStep() {
        return registStep;
    }

    public void setRegistStep(String registStep) {
        this.registStep = registStep == null ? null : registStep.trim();
    }

    public Integer getLoginFailedCount() {
        return loginFailedCount;
    }

    public void setLoginFailedCount(Integer loginFailedCount) {
        this.loginFailedCount = loginFailedCount;
    }

    public Date getLoginFailedTime() {
        return loginFailedTime;
    }

    public void setLoginFailedTime(Date loginFailedTime) {
        this.loginFailedTime = loginFailedTime;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo == null ? null : cardNo.trim();
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode == null ? null : cityCode.trim();
    }

    public String getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(String leaderId) {
        this.leaderId = leaderId == null ? null : leaderId.trim();
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy == null ? null : updatedBy.trim();
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getValidCode() {
		return validCode;
	}

	public void setValidCode(String validCode) {
		this.validCode = validCode;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public String getIsLeader() {
		return isLeader;
	}

	public void setIsLeader(String isLeader) {
		this.isLeader = isLeader;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public String getLeaderName() {
		return leaderName;
	}

	public void setLeaderName(String leaderName) {
		this.leaderName = leaderName;
	}

	public String getAuditName() {
		return auditName;
	}

	public void setAuditName(String auditName) {
		this.auditName = auditName;
	}

	public boolean isRealNameAuthentication() {
		return realNameAuthentication;
	}

	public void setRealNameAuthentication(boolean realNameAuthentication) {
		this.realNameAuthentication = realNameAuthentication;
	}

	public String getNewPassWord() {
		return newPassWord;
	}

	public void setNewPassWord(String newPassWord) {
		this.newPassWord = newPassWord;
	}

	public String getChannelCode() {
		return channelCode;
	}

	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}

	public String getChannelCodeSummary() {
		return channelCodeSummary;
	}

	public void setChannelCodeSummary(String channelCodeSummary) {
		this.channelCodeSummary = channelCodeSummary;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public boolean isMessagePush() {
		return isMessagePush;
	}

	public void setMessagePush(boolean isMessagePush) {
		this.isMessagePush = isMessagePush;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public Boolean getFaceCheck() {
		return faceCheck;
	}

	public void setFaceCheck(Boolean faceCheck) {
		this.faceCheck = faceCheck;
	}

	public Integer getOperateFlag() {
		return operateFlag;
	}

	public void setOperateFlag(Integer operateFlag) {
		this.operateFlag = operateFlag;
	}

	public String getUserAgent() {
		return userAgent;
	}

	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}
	
	
	

	/*public String getInviter() {
		return inviter;
	}

	public void setInviter(String inviter) {
		this.inviter = inviter;
	}*/
	
		
}
